package com.tpf.spring.question;

import com.tpf.spring.bean.Person;
import com.tpf.spring.config.TpfConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * <p> </p >
 *
 * @author : tianpf
 * @version :  MainTest.java,v 1.0, 2021/3/26-11:10 tianpengfei Exp $
 */
public class MainTest {

	public static void main(String[] args) {

		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(MyConfig.class);

		System.out.println("ssssssssssssssssssssssss");
		System.out.println(context.getBean(A.class));
	}
}
